I
Type that will be requested.
Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Generic Register(Type) Method
See Also 
Leadtools.Dicom.AddIn Namespace > ServiceLocator Class > Register Method : Generic Register(Type) Method



to
Type that will acually be returned.
to
Type that will acually be returned.
Registers a type mapping with the container.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Sub Register(Of I)( _
   ByVal to As Type _
) 
Visual Basic (Usage)Copy Code
Dim to As Type
 
ServiceLocator.Register(Of I)(to)
C# 
public static void Register<I>( 
   Type to
)
C++/CLI 
public:
static void Registergeneric<typename I>
( 
   Type^ to
) 

Parameters

to
Type that will acually be returned.

Type Parameters

I
Type that will be requested.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features